﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Player.ZhiBo
{
    public partial class ZBquanbu : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.QueryString["typeid"] != null)
                {
                    int id = Convert.ToInt32(Request.QueryString["typeid"]);
                    this.dtlsjx.DataSource = BLL.GameManage.SeleTypeIdGame(id);
                    this.dtlsjx.DataBind();
                    return;
                }

                if (Request.QueryString["id"] != null)
                {
                    int id = Convert.ToInt32(Request.QueryString["id"]);
                    this.dtlsjx.DataSource = BLL.GameManage.SeleTypeIdGame(id);
                    this.dtlsjx.DataBind();
                    return;
                }
                this.dtlsjx.DataSource = BLL.GameManage.SeleAllGame();
                this.dtlsjx.DataBind();
            }

        }

        protected void dtlsjx_SelectedIndexChanged(object sender, EventArgs e)
        {

        }
    }
}